package com.awesome.okhttpdemo.base;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.awesome.okhttpdemo.R;

/**
 * Author: JfangZ
 * Email: zhangjingfang@jeejio.com
 * Date: 2021/3/30 16:00
 * Description:OkHttp基础功能页面
 */
public class OkHttpBaseActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ok_http_base);
        new OKHttpHelper().getSync("http://www.wanandroid.com/");
//        new OKHttpHelper().getAsync("http://www.wanandroid.com/");
    }
}